package com.example.houduan.service;

import com.example.houduan.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.houduan.entity.Tag;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author anonymous
 * @since 2024-08-27
 */
public interface BlogService extends IService<Blog> {
    void addblog(Blog blog);
    void delByusername(String username);
    List<Blog> getByusername(String username);

    List<Blog> getTenBlog();
    List<Blog> getTenBlogByShunxu(int a);
}
